package com.fruitsales.cart.pojo;

import com.fruitsales.goods.pojo.goods;

public class cart {
    private Integer cid;

    private Integer qty;

    private Integer uid;
    
    private goods goods;
    
    
    public cart() {
		super();
	}

	

	public cart(Integer qty, Integer uid, com.fruitsales.goods.pojo.goods goods) {
		super();
		this.qty = qty;
		this.uid = uid;
		this.goods = goods;
	}



	public cart(Integer cid, Integer qty, Integer uid, com.fruitsales.goods.pojo.goods goods) {
		super();
		this.cid = cid;
		this.qty = qty;
		this.uid = uid;
		this.goods = goods;
	}



	public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    

    public goods getGoods() {
		return goods;
	}



	public void setGoods(goods goods) {
		this.goods = goods;
	}



	public Integer getQty() {
        return qty;
    }

    public void setQty(Integer qty) {
        this.qty = qty;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }



	@Override
	public String toString() {
		return "cart [cid=" + cid + ", qty=" + qty + ", uid=" + uid + ", goods=" + goods + "]";
	}

	
}